package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 外伤史
 */
public class Trauma implements Serializable {

    private static final long serialVersionUID = -903105447131358676L;
    private Integer code;
    private String name;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
